import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '../view/HelloWorld'
import test from '../view/test'
import app from '../view/app-component'
import table from '../view/table'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/test',
      name: 'test',
      component: test
    },
    {
      path: '/app',
      name: 'app-component',
      component: app
    },
    {
      path: '/table',
      name: 'table',
      component: table
    }
  ]
})
